<template>
    <el-tabs tab-position="left" style="overflow: auto">
      <el-tab-pane label="基本信息">
        <el-card class="box-card">
          <el-form label-position="right" label-width="80px" disabled :model="patient" size="mini">
            <el-row>
              <el-col :span="12">
                <el-form-item label="姓名">
                  <el-input v-model="patient.name"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="性别">
                  <el-input v-model="patient.sex"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="证件类型">
                  <el-input v-model="patient.str9"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="证件号码">
                  <el-input v-model="patient.idnumber"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="手机号码">
                  <el-input v-model="patient.businessphonenumber"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="出生日期">
                  <el-input v-model="patient.dateofbirth"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="联系电话">
                  <el-input v-model="patient.homephonenumber"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="联系地址">
                  <el-input v-model="patient.patientaddress"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="国籍">
                  <el-input v-model="patient.nationality"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="民族">
                  <el-input v-model="patient.ethnicgroup"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="出生地址">
                  <el-input v-model="patient.birthplace"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="语言">
                  <el-input v-model="patient.primarylanguage"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="婚姻状态">
                  <el-input v-model="patient.maritalstatus"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="籍贯">
                  <el-input v-model="patient.nativeplace"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="户籍地址">
                  <el-input v-model="patient.hukouaddress"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="户籍邮编">
                  <el-input v-model="patient.huKoupostcode"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="兵役情况">
                  <el-input v-model="patient.venteransmilitarystatus"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="宗教信仰">
                  <el-input v-model="patient.religion"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </el-card>
      </el-tab-pane>
      <el-tab-pane label="工作信息">
        <el-card class="box-card">
          <el-form label-position="right" label-width="80px" disabled :model="patient" size="mini">
            <el-row>
              <el-col :span="12">
                <el-form-item label="公司名称">
                  <el-input v-model="patient.company"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="职业">
                  <el-input v-model="patient.occupation"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="城市区县">
                  <el-input v-model="patient.companyaddress"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="公司邮编">
                  <el-input v-model="patient.conmpanypostcode"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="公司地址">
                  <el-input v-model="patient.companyaddress"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </el-card>
      </el-tab-pane>
      <el-tab-pane label="病史信息">
        <el-card class="box-card">
          <el-form label-position="right" label-width="80px" disabled :model="patient" size="mini">
            <el-row>
              <el-col :span="12">
                <el-form-item label="病人缩写">
                  <el-input v-model="patient.patientalias"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="医保卡号">
                  <el-input v-model="patient.patientaccountnumber"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="住院病历号">
                  <el-input v-model="patient.medicalrecordno"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="门诊病历号">
                  <el-input v-model="patient.patientid"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="血型ABO">
                  <el-input v-model="patient.bloodtypeaboname"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="血型Rh">
                  <el-input v-model="patient.bloodtyperhname"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="过敏史">
                  <el-input v-model="patient.verificatypename"></el-input>
                </el-form-item>
              </el-col>

            </el-row>

          </el-form>
        </el-card>
      </el-tab-pane>
      <el-tab-pane label="联系人信息">
        <el-card class="box-card">
          <el-form label-position="right" label-width="80px" disabled :model="patient" size="mini">
            <el-row>
              <el-col :span="12">
                <el-form-item label="关系">
                  <el-input v-model="patient.str9"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="姓名">
                  <el-input v-model="patient.contactpersonname"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="电话">
                  <el-input v-model="patient.contactpersonphonenumber"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="地址">
                  <el-input v-model="patient.residentarea"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </el-card>
      </el-tab-pane>
    </el-tabs>
</template>

<script>

export default {
  props:{
    patient:Object
  }
}
</script>

<style lang="scss" scoped>

.box-card {
  width: 720px;
}

</style>
